<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			//1，手机号    2、邮箱    3、身份证 
			var Phone=/^[1][3,5,7,4,8][0-9]{9}$/;
			console.log(Phone.test("18850218785"))
			var id=/^350681[1,2][0-9][x,y,0-9]{10}$/
			console.log(id.test("350681199806085555"));
			
			var email=/([1-9][0-9]{5,10})[@](qq)(.)[com]/;
			console.log(email.test("1113516949@qq.com"))
		</script>
	</head>
	<body>
	</body>
</html>
